package com.example.demo.dao;


import com.example.demo.po.WxUserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface WxUserInfoDAO {

    int saveorUpdate(WxUserInfo user);

    WxUserInfo findById(String openid);

    List<WxUserInfo> findByType(Integer type);

    WxUserInfo isAI(String openId);

    List<WxUserInfo> list(WxUserInfo user);
}
